package com.dxc.intern.controller;

import com.dxc.untils.result.ResultUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
@CrossOrigin
@RestController
@Api(tags = "测试")
public class TestController {
    @ApiOperation("测试")
    @RequestMapping(value = "/test",method = RequestMethod.GET)
    public ResultUtil testResult(){
        return ResultUtil.success("success");
    }
}
